package com.pxmeta.user.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author wcl
 * @since 2022-07-19
 */
@Data
@TableName("kt_user_identify")
@ApiModel(value = "UserIdentify对象", description = "")
public class UserIdentify implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("图片地址，多个逗号分割")
    private String imgUrls;

    @ApiModelProperty("1 学生，2 职业")
    private Integer type;

    @ApiModelProperty("证件类型")
    private String idType;

    @ApiModelProperty("单位名称")
    private String orgName;

    @ApiModelProperty("0审核中，1审核成功，-1审核失败")
    private Integer status;

    @ApiModelProperty("拒绝理由")
    private String reason;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}
